{include file='header'}
<link rel="stylesheet" href="__PUBLIC__css/user.css">
{include file='nav'}
{include file='profile/userinfo'}
<div class="user-main">
	{include file='profile/nav'}
	<div class="user-content">
		<div class="me-info">
			<h2>我的个人资料</h2>
			<form class="layui-form" action="">
				<div class="layui-form-item">
					<label class="layui-form-label">头像</label>
					<div class="avatar">
						<span id="upload-btn"></span>
						<img id="upload-img" src="{$userData.know_avatar}">
						<input type="hidden" name="avatar" value="{$userData.know_avatar}" class="layui-update">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">手机号码</label>
					<div class="layui-input-inline layui-input-wrap">
						<input type="text" class="layui-input layui-update" value="{$user.phone}"  disabled>
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">昵称</label>
					<div class="layui-input-inline layui-input-wrap">
						<input type="text" name="nickname" value="{$userData.know_nickname}" class="layui-input layui-update">
					</div>
				</div>

				<div class="layui-form-item">
					<label class="layui-form-label">自我介绍</label>
					<div class="layui-input-block">
						<textarea placeholder="请用一句话介绍自己" name="desc" class="layui-textarea layui-update">{$userData.know_desc}</textarea>
					</div>
				</div>
				{if $adminStatus eq 0}<div class="layui-form-item">
					<div class="layui-input-block">
						<button type="button" class="submit-btn">保存</button>
					</div>
				</div>{/if}
			</form>
			<div class="accounts">
				<div class="title">第三方账号</div>
				<ul>
					<li class="bound">
						<div class="icon"><i class="iconfont icon-weixin"></i></div>
						<div class="info">
							<h3>微信</h3>
							<p>已绑定</p>
							<a href="#">解除绑定</a>
						</div>
					</li>
					<li>
						<div class="icon"><i class="iconfont icon-qq"></i></div>
						<div class="info">
							<h3>QQ</h3>
							<p>未绑定</p>
							<a href="#">添加绑定</a>
						</div>
					</li>
				</ul>
			</div>
		</div>
	</div>
</div>
{include file='footer'}
<script type="text/javascript" src="__PUBLIC__js/mine.js"></script>